package com.yunwrite.playerlibrary.customplayer.player;

import android.media.MediaPlayer;

/**
 * 自定义的播放器类
 * @author liuping
 */
public class CustomPlayer extends MediaPlayer {
    public static final int FREE=0;
    public static final int PREPARE=1;
    public static final int PREPARED=2;
    public static final int PLAYING=3;
    /**
     * 播放器状态，
     */
    private  int state;
    public static CustomPlayer getInitCustomPlayer(){
     return new CustomPlayer();
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }
}
